// 导入二次封装axios
import koi from "@/utils/axios.ts";

export const listPage = (params: any) => koi.get("/app/coleopenapi/admin/app/list", params);

// 根据ID进行查询
export const read = (id: any) => koi.get("/app/coleopenapi/admin/app/read", { id });

// 根据ID进行修改
export const update = (data: any) => koi.post("/app/coleopenapi/admin/app/update", data);

// 添加
export const add = (data: any) => koi.post("/app/coleopenapi/admin/app/add", data);

export const changeStatus = (id: any, status: any) => koi.post("/app/coleopenapi/admin/app/changeStatus", { id, status });

